package com.ruoyi.msg.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图信息业务对象 msg_swiper
 *
 * @author strongme
 * @date 2023-05-23
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MsgSwiperBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 轮博图片id
     */
    @NotBlank(message = "轮博图片id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String img;

    /**
     * 轮博图片介绍
     */
    @NotBlank(message = "轮博图片介绍不能为空", groups = { AddGroup.class, EditGroup.class })
    private String caption;

    /**
     * 轮博图状态
     */
    @NotBlank(message = "轮博图状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
